package com.defines.ming.demo.utils;

public enum ApproveNode {
    CREATE_NODE("申请人申请"),PM_NODE("项目经理审批"),GM_NODE("项目总监审批"),LEAD_NODE("公司领导审批"),
    FI_NODE("财务审批"),APP_CHECK_NODE("申请人检查"),FINISH_NODE("完成");
  public   String nodeName;
    ApproveNode(String name) {
        this.nodeName=name;
    }
    public  static  ApproveNode getApproveNodeName(int id){
        if (id<values().length){
            return values()[id];
        }
        else return null;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }


}



